package com.cleaningcloud.cld.mapper.other;

import com.cleaningcloud.cld.domain.vo.WarehouseInventoryVo;

import java.util.List;

/**
 * 查询仓库库存
 */
public interface WarehouseInventoryMapper {

    /**
     * 根据项目id查询 项目仓及岗位仓库存
     * @param projectId
     * @return
     */
    List<WarehouseInventoryVo> selectWarehouseInventoryListByProjectId(Long projectId);

    /**
     * 根据人员id查询岗位仓下库存
     * @param staffId
     * @return
     */
    List<WarehouseInventoryVo> selectWarehouseInventoryListByStaffId(Long staffId);

    /**
     * 根据岗位id查询岗位仓下库存
     * @param postId
     * @return
     */
    WarehouseInventoryVo selectWarehouseInventoryListByPostId(Long postId);
}
